home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Archives / Utilities / Virus / Virus Information / Virus Encyclopedia / card_28770.txt < prev    next >
Text File  |  1990-01-29  |  1KB  |  26 lines

  1. -- card: 28770 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2783
  5. -- name: Strategies for Programmers
  6.  
  7.  
  8. -- part contents for background part 10
  9. ----- text -----
  10. Strategies for Programmers
  11.  
  12. -- part contents for background part 2
  13. ----- text -----
  14.    This is a brief discussion of techniques programmers can use to prevent their programs from being infected by viruses.
  15.    Methods that could be used to check and maintain the integrity of the application include:  computing a CRC of the Resource Fork, locking the file, setting the ‚ÄúShared‚Äù bit, making the file Read Only, and locking the file‚Äôs resources.
  16.    Other possibilities are checking the number of CODE resources and their length, or checking the Read Only and Locked bits every time through the Main Event Loop.
  17.    Programmers should develop their own techniques because a virus which may bypass one method of detection can be caught by another.
  18.  
  19.  
  20. -- part contents for background part 11
  21. ----- text -----
  22.    This is an extreme condensation of ideas discussed at a presentation given by John Norstad (Northwestern University, author of Disinfectant) and Scott Boyd (Apple, Aardvark Trainer‚Ć and author of Virus Rx) at MacHack ‚Äô89.
  23.  
  24.  
  25.  
  26. ‚Ć Honest!  That‚Äôs what his business card says.